<ng-container *ngIf="lessons">
  <div class="lesson" *ngFor="let lesson of lessons">
    <div class="lesson-detail">
      {{lesson}}
    </div>
  </div>
</ng-container>

<ng-container *ngTemplateOutlet="loading"></ng-container>

<ng-template #loading>
  <div>Loading11...</div>
</ng-template>

